﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

using QingzimaScenario;
using QingzimaLogicModel;

namespace QingzimaWebClient.Controllers
{
    public class HoutaiDingdanController : Controller
    {
        //
        // GET: /HoutaiDingdan/

        public ActionResult List()
        {
            ViewBag.DingdanList = DingdanScenario.HuoquModels();
            return View();
        }

        public ActionResult Del(string key)
        {
            DingdanScenario.Shanchu(key);
            return RedirectToAction("List");
        }

    }
}
